<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../css/reset.css" />
		<link rel="stylesheet" href="../css/6.css" />
	</head>

	<body>
		<header>
			<span><img src="../img/7-01.png" alt="" /></span>
			<span>芬迪</span>
			<span></span>
		</header>
		<div class="title">
			<span class="span_one"><a href="#">默认</a></span>
			<span class="span_two"><a href="#">销量</a></span>
			<span class="span_three"><a href="#">价格</a></span>
		</div>
		<div class="ji">
			共计11件
		</div>
		<div class="da">

		</div>
		<footer>
			<ul>
				<li><img src="../img/7-15.png" alt="" /></li>
				<li><img src="../img/7-11.png" alt="" /><a href="">搜索</a></li>
				<li><img src="../img/7-12.png" alt="" /><a href="">我的秀</a></li>
				<li><img src="../img/7-13.png" alt="" /><a href="">购物车</a></li>
				<li><img src="../img/7-14.png" alt="" /><a href="">更多</a></li>
			</ul>
		</footer>
		<script src="../js/jquery-1.11.2.min.js"></script>
		<script src="../js/url.js"></script>
		<script src="../js/flexible.debug.js"></script>
		<script src="../js/flexible_css.debug.js"></script>
		<script>
			$(".da").on("click", ".left", function() {
				console.log(this);
			})
			$.ajax({
				url: $.zixiu.third,
				dataType: "json",
				success: function(data) {
					data.forEach(function(v) {
						var ss = $('<div class="data"></div>')
						ss.appendTo('.da')
						var div1 = $("<div class='left'>").append($("<img>").attr("src", v.imgUrl));
						var div2_top = $("<div class='top'>").append($("<h4>").html(v.h4)).append($("<p>").html(v.p))
						var s = $("<span>").html(v.span01);
						var s2 = $("<span>").html(v.span02).append($("<a>").html(v.a)).append($("<a class='a1'>").html(v.a1))
						var div2_bom = $("<div class='bom'>").append(s).append(s2);
						var right = $("<div class='right'>").append(div2_top).append(div2_bom);
						$(ss).append(div1).append(right)
					})
					$(".title .span_one").click(function() {
							window.location.href = "5.html"
					});
					$(".title .span_three").click(function() {
							window.location.href = "7.html"
						})
					
						
				}
			})
		</script>
	</body>

</html>